# Contributor: Jake Buchholz Göktürk <tomalok@gmail.com>
# Maintainer: Jake Buchholz Göktürk <tomalok@gmail.com>
pkgname=log_proxy
pkgver=0.7.4
pkgrel=0
pkgdesc="A tiny C utility for log rotation for apps that write their logs to stdout."
url="https://github.com/metwork-framework/log_proxy"
arch="all"
license="BSD-3-Clause"
makedepends="glib-dev"
source="
	log_proxy-$pkgver.tar.gz::https://github.com/metwork-framework/log_proxy/archive/v$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver/src"

build() {
	make
}

check() {
	make test
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr"
}

sha512sums="
0a07b642c50b25828e012b16370e60bdfe2ad624626fd07f9e5745eb68acace2fe444b96baadf8a66b81ccf80682644139ff880bb12805bf8fefcb51a70e5d90  log_proxy-0.7.4.tar.gz
"
